package cn.zcy.utils;

import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Lazy;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import static org.springframework.beans.factory.config.ConfigurableBeanFactory.SCOPE_SINGLETON;

@Component
@Lazy
@Scope(value = "prototype")
public class LogUtils {
    public LogUtils() {
        System.out.println("日志类创建了");
    }

    public void printLog() {
        System.out.println("模拟记录日志");
    }
}
